<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org"
      xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="shortcut icon" data-th-href="@{/favicon.ico}">
    <link rel="stylesheet" data-th-href="@{/asserts/css/bootstrap.min.css}">
    <link rel="stylesheet" data-th-href="@{/asserts/css/font-awesome.css}" >
    <link rel="stylesheet" data-th-href="@{/asserts/css/animate.css}" >
    <link rel="stylesheet" data-th-href="@{/asserts/css/style.css}" >
    <link rel="stylesheet" data-th-href="@{/asserts/css/plugins/ztree/zTreeStyle.css}">
    <link rel="stylesheet" data-th-href="@{/asserts/css/plugins/bootstrap-table/bootstrap-table.min.css}">
    <link rel="stylesheet" data-th-href="@{/asserts/css/plugins/iCheck/custom.css}">
    <!-- Latest compiled and minified CSS -->
    <style>
        .form-control:focus,
        .single-line:focus {
            border-color: #0e9aef !important;
        }
        .checkbox-inline {
            line-height: 5px;
        }
    </style>
</head>
<body>
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>字典管理</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-sm-3">
                                <div class="input-group">
                                    <div class="input-group-btn">
                                        <button data-toggle="dropdown" class="btn btn-white dropdown-toggle"
                                                type="button">名称
                                        </button>
                                    </div>
                                    <input type="text" class="form-control" id="condition" placeholder="名称" />
                                </div>
                            </div>
                            <div class="col-sm-3">
                                <button type="button" class="btn btn-primary " onclick="Dict.search()" id="">
                                    <i class="fa fa-search"></i>&nbsp;搜索
                                </button>
                            </div>
                        </div>
                        <div class="hidden-xs" id="DictTableToolbar" role="group">
                            <button type="button" class="btn btn-primary"
                                    shiro:hasPermission="dict:add"  onclick="Dict.openAddDict()">
                                <i class="fa fa-plus"></i>&nbsp;添加
                            </button>
                            <button type="button" class="btn btn-primary button-margin"
                                    shiro:hasPermission="dict:edit" onclick="Dict.openDictDetail()">
                                <i class="fa fa-edit"></i>&nbsp;修改
                            </button>
                            <button type="button" class="btn btn-primary button-margin"
                                    shiro:hasPermission="dict:delete" onclick="Dict.delete()">
                                <i class="fa fa-remove"></i>&nbsp;删除
                            </button>
                        </div>
                        <table id="DictTable">

                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>

<script th:inline="javascript">
    var ctxPath = [[@{/}]];
</script>

<!-- 全局js -->
<script data-th-src="@{/webjars/jquery/3.3.1/jquery.min.js}"></script>

<!--自定义js-->
<script data-th-src="@{/asserts/js/modular/sys/dict/dict.js}"></script>
<script data-th-src="@{/asserts/js/common/Feng.js}"></script>
<script data-th-src="@{/asserts/js/common/bootstrap-table-object.js}"></script>
<script data-th-src="@{/asserts/js/common/ztree-object.js}"></script>
<script data-th-src="@{/asserts/js/common/ajax-object.js}"></script>

<!--第三方插件js-->
<script data-th-src="@{/asserts/js/plugins/bootstrap-table/bootstrap-table.min.js}"></script>
<script data-th-src="@{/asserts/js/plugins/validate/bootstrapValidator.min.js}"></script>
<script data-th-src="@{/asserts/js/plugins/layer/layer.min.js}"></script>
<script data-th-src="@{/asserts/js/plugins/layer/laydate/laydate.js}"></script>
<script data-th-src="@{/asserts/js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js}"></script>
<script data-th-src="@{/asserts/js/plugins/ztree/jquery.ztree.all.min.js}"></script>


</html>